package expertisenetwork;

public final class Expertise {

	private 
//	static 
	int nOfAnswers = 0;
	private 
//	static 
	double weight = 0;
	private boolean initialized = false;

	public Expertise() {

	}

	public void add(double weight) {
		this.weight = this.weight + weight;
		this.nOfAnswers = this.nOfAnswers + 1;
		initialized = true;
	}

	public int getNOfAnswers() {
		return nOfAnswers;
	}

	public double getWeight() {
		return weight;
	}

	public boolean isInitialized() {
		return initialized;
	}

}
